<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>简介</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.inotify.html">Inotify</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="inotify.setup.html">安装／配置</a></div>
 <div class="up"><a href="book.inotify.html">Inotify</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="intro.inotify" class="preface">
  <h1 class="title">简介</h1>
  <p class="para">
   The inotify extension exposes the inotify functions <span class="function"><a href="function.inotify-init.html" class="function">inotify_init()</a></span>,
   <span class="function"><a href="function.inotify-add-watch.html" class="function">inotify_add_watch()</a></span> and <span class="function"><a href="function.inotify-rm-watch.html" class="function">inotify_rm_watch()</a></span>.
  </p>
  <p class="para">
   As the C <span class="function"><a href="function.inotify-init.html" class="function">inotify_init()</a></span> function returns a file descriptor, PHP&#039;s
   <span class="function"><a href="function.inotify-init.html" class="function">inotify_init()</a></span> returns a stream resource, usable with standard
   stream functions, like <span class="function"><a href="function.stream-select.html" class="function">stream_select()</a></span>, <span class="function"><a href="function.stream-set-blocking.html" class="function">stream_set_blocking()</a></span> 
   and <span class="function"><a href="function.fclose.html" class="function">fclose()</a></span>. <span class="function"><a href="function.inotify-read.html" class="function">inotify_read()</a></span> replaces the C way of reading inotify
   events.
  </p>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.inotify.html">Inotify</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="inotify.setup.html">安装／配置</a></div>
 <div class="up"><a href="book.inotify.html">Inotify</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
